#coding=utf-8

import const

# 操作权限
#const.PERMIT_EXPORT = 'export'
#const.PERMIT_MODIFY_ORDER = 'modify order'
#const.PERMIT_DEL_ORDER = 'delete order'

# 序号应该更比字典更高效
const.PERMIT_CNT = 12

[const.PERMIT_EXPORT, const.PERMIT_SYSMENU,
const.PERMIT_MODIFY_ORDER, const.PERMIT_DEL_ORDER,
const.PERMIT_MODIFY_ORDER_TEMP, const.PERMIT_DEL_ORDER_TEMP,
const.PERMIT_SETTING_PRINT, const.PERMIT_SETTING_BACKUP, 
const.PERMIT_SETTING_STAFF, const.PERMIT_SETTING_COMPANY, 
const.PERMIT_SETTING_ACCOUNT, const.PERMIT_SETTING_ACCOUNTDETAIL
]  = [i for i in range(const.PERMIT_CNT)]


